<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<html>
<head>
<style>
   #left {float:padding:5px 5px 5px 5px;width:70%;}
   #right {float:right;width:28%;}
</style>
</head>
<body marginheight="0">
<div id="left">

<h1>网摘列表：&nbsp;&nbsp;</h1>
<form name="frm_order" method="post" action="listSnippet.html">
网摘搜索: <input type="text" name="tag" id="search" value="${tag}"></input>
<input type="submit" value="搜索"></input></form>

共有网摘${page.count}个,每页显示${page.pageSize}条,当前显示
第${page.pageNum}页/共${page.pageCount}页&nbsp;&nbsp; <c:if
	test="${page.pageCount>1}">
	<c:forEach var="i" begin="1" end="${page.pageCount}" step="1">
		<c:choose>
			<c:when test="${i==page.pageNum}">${i}</c:when>
			<c:otherwise>
				<a href="listSnippet.html?page=${i}">${i}</a>
			</c:otherwise>
		</c:choose>
	</c:forEach>
</c:if>

<table class=lst>
	<c:forEach items="${page.list}" var="snippet">
		<TR>
			<TD vAlign=top width=75><A href="user/${snippet.fans.name}">
			<IMG class=fansIcon src="${snippet.fans.icon}"></A></TD>
			<td>
			<h3><a href="${snippet.url}" target="_blank">${snippet.title}</a>&nbsp;&nbsp;</h3>
            <img src="images/visit.gif">${snippet.snippetCount}个fans收藏</a>&nbsp;相关标签
			<c:forEach items="${snippet.tagSet}" var="tag">
				<a class=tag href="viewTag/${tag.tagId}">${tag.title}</a>&nbsp;
	   </c:forEach>&nbsp;&nbsp;<br>
			<br>
			${snippet.descn}<br>
			</td>
		</TR>
	</c:forEach>
</table>
<div align="center" style="background-color:#FFFFFF;"><c:if
	test="${page.pageNum>1}">
	<a href="listSnippet.html?page=${page.pageNum-1}">上一页</a>
</c:if> <c:if test="${page.pageCount>page.pageNum}">
	<a href="listSnippet.html?page=${page.pageNum+1}">下一页</a>
</c:if></div>
</div>
<div id="right">
<div class="tips">
网摘就是一个在线的IE收藏夹，在这里您可以收藏每一个您阅读的网页、网站，将它们保存下来，以备日后检索。通过Tag能够方便的管理您的网摘,还可以与其它fans一起分享。
<br>
<a href="http://www.openfans.net/upload/openfans.rar">网摘的IE插件</a>,下载后解压将openfans_install.reg文件加入注册表,您就可以在网页上选择您希望保存的描述,并右键选择"添加到openfans网摘"
快速收藏您感兴趣的信息了。如果您希望删除该功能，使用openfans_uninstall.reg即可。对注册表的修改需重启IE。</div>


<p><script type="text/javascript"><!--
google_ad_client = "pub-3349070857739197";
google_alternate_color = "FFFFFF";
google_ad_width = 120;
google_ad_height = 240;
google_ad_format = "120x240_as";
google_ad_type = "text";
google_ad_channel ="1701351471";
//--></script> <script type="text/javascript"
	src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>

</body>
</html>
